package com.springcloudalibaba;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @描述: 登录认证调用
 * @作者: lixing
 * @日期 2021/6/4 17:28
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
/** 让注册中心能够发现，扫描到该服务 */
@EnableDiscoveryClient
/** 开启Feign Client */
@EnableFeignClients(basePackages = {"com.springcloudalibaba.basefeign.service.*.api"})
public class ApiPayApplication {
    public static void main(String[] args) {
        SpringApplication.run(ApiPayApplication.class, args);
    }
}
